package com.foomia.truego.types;

import com.foomia.truegoed.util.ParcelUtils;

import android.os.Parcel;
import android.os.Parcelable;

public class Geometry  implements TruegoType,Parcelable{
	private String mGeolat;
    private String mGeolong;
    

    public Geometry() {
    }
    
    public Geometry(Parcel in) {
    	mGeolat = ParcelUtils.readStringFromParcel(in);
    	mGeolong = ParcelUtils.readStringFromParcel(in);
    }
    public static final Parcelable.Creator<Geometry> CREATOR = new Parcelable.Creator<Geometry>() {
        public Geometry createFromParcel(Parcel in) {
            return new Geometry(in);
        }

        @Override
        public Geometry[] newArray(int size) {
            return new Geometry[size];
        }
    };
    
    public String getLat() {
        return mGeolat;
    }

    public void setLat(String lat) {
    	mGeolat = lat;
    }

    public String getLng() {
        return mGeolong;
    }

    public void setLng(String lng) {
    	mGeolong = lng;
    }
    @Override
    public void writeToParcel(Parcel out, int flags) {
        ParcelUtils.writeStringToParcel(out, mGeolat);
        ParcelUtils.writeStringToParcel(out, mGeolong);
        
    }

    @Override
    public int describeContents() {
        return 0;
    }

}
